﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NCP.Infrastructure.Common.Specification;

namespace NCP.Recruiting.Domain.Aggregates.Deals {
    public static class DealSpecifications {
        public static Specification<Deal> GetDealsByCompany(Guid companyId) {
            return new DirectSpecification<Deal>(d => d.CompanyId == companyId);
        }
    }
}
